package com.shangze.test.bean.base;

import com.shangze.test.base.BaseBean;

/**
 * Author：Bright
 * Time:2017/8/18
 * ClassName:BaseResponse
 * Explain:
 */
public class BaseResponse<T> extends BaseBean{

    public int code;
    public String info;
    public T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaseResponse{" +
                "code=" + code +
                ", info='" + info + '\'' +
                ", data=" + data +
                '}';
    }
}
